package com.example.hospitalbakcends.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.example.hospitalbakcends.domain.Diagnosis;
import com.example.hospitalbakcends.domain.request.DiagnosisRequest;

import java.util.List;

/**
* @author cac_qin
* @description 针对表【diagnosis(诊断)】的数据库操作Service
* @createDate 2024-05-21 23:39:22
*/
public interface DiagnosisService extends IService<Diagnosis> {
    List<Diagnosis> patientDiagnosis(String id, String name);

    int setIspayByID(String id);

    boolean createDignosis(DiagnosisRequest diagnosisRequest);

    List<Diagnosis> getByDoctorName(String doctorName);

    List<Diagnosis> getBookDiagnosis(String doctorName);

    boolean doDiagnosis(String patientId, String medicine, String price);
}
